namespace Adnc.Infra.Redis.Core;

/// <summary>
/// Adnc.Infra.Redis const value.
/// </summary>
public static class ConstValue
{
    public const int PollyTimeout = 5;

    public static class Serializer
    {
        public const string DefaultBinarySerializerName = "binary";

        public const string DefaultProtobufSerializerName = "proto";

        public const string DefaultJsonSerializerName = "json";
    }

    public static class Provider
    {
        public const string StackExchange = "StackExchange";
        public const string FreeRedis = "FreeRedis";
        public const string ServiceStack = "ServiceStack";
        public const string CSRedis = "CSRedis";
    }
}
